-- GENERATED SPELL FOR [Timberling Trampler] --


function spell0_2027(pUnit, Event) --@Trample,Self--
pUnit:FullCastSpellOnTarget(5568,pUnit)
pUnit:RegisterEvent('Sorts_2027', 647, 1)
end

function Sorts_2027(pUnit, Event)
local choix_sorts_2027 = math.random(0, 0)
if choix_sorts_2027 == 0 then
pUnit:RegisterEvent('spell0_2027', 1, 1)
end
end

function mob2027_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2027', math.random(1500, 3000), 1)
end

function mob2027_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2027_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2027_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2027, 1, 'mob2027_Action')
RegisterUnitEvent(2027, 2, 'mob2027_Leave')
RegisterUnitEvent(2027, 3, 'mob2027_Kill')
RegisterUnitEvent(2027, 4, 'mob2027_Die')
